package cn.imokay.springboot.profile;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 孟震
 */
@RestController
public class HelloSpringbootGoController {

    @RequestMapping("hello")
    public Map helloSpringboot(){
        HashMap<String, String> map = new HashMap<>();
        map.put("name","wangmz");
        map.put("pwd","123");
        map.put("job","programmer");

        return map;
    }
}
